projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9734d
)
(elp-instrument-package): Don't allow empty prefixes.
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 14 May 2001 17:47:55 +0000
(17:47 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 14 May 2001 17:47:55 +0000
(17:47 +0000)
lisp/emacs-lisp/elp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/elp.el
b/lisp/emacs-lisp/elp.el
index 42dc1bc070bbc05ac9cf250d48e43a725abb7fc4..af189126a0979060ae958d12369a104a5ae501e5 100644
(file)
--- a/
lisp/emacs-lisp/elp.el
+++ b/
lisp/emacs-lisp/elp.el
@@
-323,6
+323,8
@@
For example, to instrument all ELP functions, do the following:
\\[elp-instrument-package] RET elp- RET"
(interactive "sPrefix of package to instrument: ")
+ (if (zerop (length prefix))
+ (error "Instrumenting all Emacs functions would render Emacs unusable."))
(elp-instrument-list
(mapcar
'intern